﻿<Window x:Class="Minecraft.Surveyor.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Minecraft Surveyor" Height="420" Width="640">
    <Grid Name="WindowGrid">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="Black" Offset="0"/>
                <GradientStop Color="#FF555555" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Menu Name="MainMenu" VerticalAlignment="Top" Height="26" Grid.ColumnSpan="1">
            <MenuItem Name="World" Padding="4,4,4,3" Header="World">
                <MenuItem.Icon>
                    <Image Source="/Minecraft.Surveyor;component/Icons/World.png" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="2,0,0,0" />
                </MenuItem.Icon>
                
                <MenuItem Header="World 1" />
                <MenuItem Header="World 2" />
                <MenuItem Header="World 3" />
                <MenuItem Header="World 4" />
                <MenuItem Header="World 5" />
                
                <Separator Height="4" />

                <MenuItem Name="RefreshMenu" Header="Open file..." />
            </MenuItem>

            <Separator Width="4" />
            
            <MenuItem Name="Style" Padding="4,4,4,3" Header="Map">
                <MenuItem.Icon>
                    <Image Source="/Minecraft.Surveyor;component/Icons/Map.png" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="2,0,0,0" />
                </MenuItem.Icon>

                <MenuItem Header="Continuous">
                    <MenuItem.Icon>
                        <Image Source="/Minecraft.Surveyor;component/Icons/Arrow_Refresh.png" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="2,0,0,0" />
                    </MenuItem.Icon>
                </MenuItem>

                <Separator Height="4" />
                
                <MenuItem Header="Daytime" />
                <MenuItem Header="Evening" />
            </MenuItem>
        </Menu>
        <Image HorizontalAlignment="Right" VerticalAlignment="Top"  Width="16" Height="16" Margin="0,6,28,0" Name="ThemeButton" Stretch="Fill" Source="/Minecraft.Surveyor;component/Icons/lightbulb_off.png" MouseLeftButtonUp="ToggleLamp" />
        <Image HorizontalAlignment="Right" VerticalAlignment="Top"  Width="16" Height="16" Margin="0,5,6,0" Name="HjalpButton" Stretch="Fill" Source="/Minecraft.Surveyor;component/Icons/help.png" />
    </Grid>
</Window>
